package com.zhixiao.user.mapper

import com.zhixiao.user.model.User
import org.apache.ibatis.annotations.Mapper

@Mapper
interface UserMapper {
    fun findByUsername(username: String): Int

    fun insert(user: User): Int

    fun selectByUsername(username: String): User?
}
